package com.qbw.app.model;

import java.io.Serializable;
import java.util.List;

/**
 * @author QBW
 * @date 2019/10/11
 */
public class ElectricAreaDetail extends ElectricArea {
    private java.util.List<Vehicle> vehicles;
    private Radius detail;

    public java.util.List<Vehicle> getVehicles() {
        return vehicles;
    }

    public void setVehicles(java.util.List<Vehicle> vehicles) {
        this.vehicles = vehicles;
    }

    public Radius getDetail() {
        return detail;
    }

    public void setDetail(Radius detail) {
        this.detail = detail;
    }

    public static class Radius extends BaseModel implements Serializable {

        private int fenceId;
        private int id;
        private double latitude;
        private double longitude;
        private int position;
        private int radius;

        public int getFenceId() { return fenceId;}

        public void setFenceId(int fenceId) { this.fenceId = fenceId;}

        public int getId() { return id;}

        public void setId(int id) { this.id = id;}

        public double getLatitude() { return latitude;}

        public void setLatitude(double latitude) { this.latitude = latitude;}

        public double getLongitude() { return longitude;}

        public void setLongitude(double longitude) { this.longitude = longitude;}

        public int getPosition() { return position;}

        public void setPosition(int position) { this.position = position;}

        public int getRadius() { return radius;}

        public void setRadius(int radius) { this.radius = radius;}
    }

    public static class Resonse extends BaseResponse<ElectricAreaDetail> {}
}
